package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.PInventoryMaterielInfo;
import com.zhongwang.mms.gen.entity.PInventoryMaterielInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PInventoryMaterielInfoMapper {
    long countByExample(PInventoryMaterielInfoExample example);

    int deleteByExample(PInventoryMaterielInfoExample example);

    int deleteByPrimaryKey(Integer imiId);

    int insert(PInventoryMaterielInfo record);

    int insertSelective(PInventoryMaterielInfo record);

    List<PInventoryMaterielInfo> selectByExample(PInventoryMaterielInfoExample example);

    PInventoryMaterielInfo selectByPrimaryKey(Integer imiId);

    int updateByExampleSelective(@Param("record") PInventoryMaterielInfo record, @Param("example") PInventoryMaterielInfoExample example);

    int updateByExample(@Param("record") PInventoryMaterielInfo record, @Param("example") PInventoryMaterielInfoExample example);

    int updateByPrimaryKeySelective(PInventoryMaterielInfo record);

    int updateByPrimaryKey(PInventoryMaterielInfo record);
}